class Admin::RegistrationsController < Devise::RegistrationsController
  layout 'admin'

  #before_filter :require_no_authentication, :only => [ :new, :create, :cancel ]
  #before_filter :authenticate_scope!, :only => [:edit, :update, :destroy]

  # GET /resource/sign_up
  def new
    super
  end


  def create
    super

    c = Client.new(params[:client])
    c.user_id = resource.id
    c.save
  end

  def update
    super
  end
end
